<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page language="java" import="com.br.dao.PrivilegioDao"%>    
<%@ page language="java" import="com.br.dao.MenuDao"%>
<%@ page language="java" import="com.br.model.Privilegio"%>
<%@ page language="java" import="com.br.model.Menu"%>
<%@ page language="java" import="com.br.view.EmpresaView"%>
<%@ page language="java" import="com.br.utilitarios.funcoes"%>
<%@ page language="java" import="java.util.List"%>
<%@ page language="java" import="java.util.ArrayList"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="shortcut icon" href="resources/if.ico"> 
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>GesDoc - Gestao Documental</title>
<style type="text/css"> 
@import url(styles.css)
</style>
<link rel="stylesheet" href="style.css" type="text/css" media="screen, projection" />
<!--[if lte IE 6]><link rel="stylesheet" href="style_ie.css" type="text/css" media="screen, projection" /><![endif]-->      
    <script src="sliding/jquery.js" type="text/javascript"></script>
	<script src="sliding/general.js" type="text/javascript"></script>    

	<link href="windows8/Style/Interacao.css" rel="stylesheet" type="text/css" />
    <link href="windows8/Style/jq-metro.css" rel="stylesheet" type="text/css" />
    <script src="windows8/Style/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="windows8/Script/jquery.metro-btn.js" type="text/javascript"></script>
    <% funcoes function = new funcoes(); %>
    <%=function.getJQueryAdm()%>
</head>
<body>
<%
 //Objetos 
 PrivilegioDao privDao  = new PrivilegioDao();
 MenuDao	   menuDao  = new MenuDao();
 Privilegio    priv     = null;
 Menu		   menu	    = null;
 EmpresaView   Empresaview = new EmpresaView();
 
 //Variaveis
 List<Privilegio> vListaPrivilegio = new ArrayList<Privilegio>();
 List<Menu>		  vListaMenu	   = new ArrayList<Menu>();	
 List<String>     vColunasM 	   = new ArrayList<String>();
 List<String>     vValoresM  	   = new ArrayList<String>();
 List<String>     vColunas 		   = new ArrayList<String>();
 List<String>     vValores 		   = new ArrayList<String>();
 //String 	      vCodEmpresa      = session.getAttribute("codempresa").toString();
 String           vCodUsuario	   = session.getAttribute("codusuario").toString();
 
 //session.setAttribute("codempresa",vCodEmpresa);
 session.setAttribute("codusuario",vCodUsuario);
 session.setAttribute("operacao","adicionar");

%>
 <div id="paginatop">
 	<p align="left"><img src="resources/gesdoc.png" ></p>
 </div>
 <div id="paginatop2">
 	<a href="index.jsp"><img src="resources/logoff.png"></a>
 </div>
 
 <div id="menulateral">
  <div id="metrobuttons" class="metro-panel"></div>
  <div id="metrobuttons2" class="metro-panel"></div>
 </div>

 <div id="paginaconteudo"> 
  <%=Empresaview.getAdd()%>    
 </div>
</body>
</html>